package com.greensam.pixelengine.pojo.vo.picture.request;

import com.greensam.pixelengine.pojo.base.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * @author Macro_Ray
 * @since 2025/7/2 13:52
 */
@Getter
@Setter
@Schema(description = "图片分页查询请求")
public class PicturePageRequest extends PageRequest {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "分类")
    private String category;

    @Schema(description = "标签")
    private String tag;

    @Schema(description = "关键词")
    private String keyword;

    @Schema(description = "是否查询公共图库")
    private Boolean isPublic = Boolean.TRUE;

    @Schema(description = "空间id")
    private Long spaceId;

    @Schema(description = "图片创建者")
    private Long userId;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(title = "尺寸大小 0-小 1-中 2-大 3-超大 4-自定义")
    private Integer queryPixel;

    @Schema(title = "图片宽度")
    private Integer picWidth;

    @Schema(title = "图片高度")
    private Integer picHeight;

    @Schema(title = "图片格式")
    private String picFormat;

}
